package org.neuedu.ssmp.crm.controller;

import org.neuedu.ssmp.crm.entity.Gx;
import org.neuedu.ssmp.crm.service.IGxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/d")
public class GxController {
    @Autowired
    private IGxService iGxService;
    @RequestMapping("/a")
    public List<Gx> gx(){
        return iGxService.gx();
    }
    @RequestMapping("/b")
    public List<Gx> gxc(){
        return iGxService.gxc();
    }
    @RequestMapping("/c")
    public List<Gx> gxa(String name,String orderTime){
        return iGxService.gxa(name,orderTime);
    }
}
